package com.sxhalo.fsms.domain;

import java.util.Date;

public class DeviceAlarmRecord {
	/**
	 * id
	 */
	private Integer id;

	/**
	 * 报警时间
	 */
	private Date alarmTime;

	/**
	 * 报警设备id
	 */
	private Integer deviceId;

	/**
	 * 报警变量id
	 */
	private Integer attrId;


	private Integer ruleId;

	/**
	 * 报警类别，字典表：高高报警，大于最大值则报警；中报警、介于中间则报警；低低报警，低于最小值则报警
	 */
	private String alarmType;

	/**
	 * 报警级别
	 */
	private String alarmLevel;

	/**
	 * 报警数值
	 */
	private String alarmValue;

	/**
	 * 信息来源，字典表：system系统上报，patrol常规巡检，Manual手动上报
	 */
	private String defectSource;

	/**
	 * 处置状态
	 */
	private Integer state;

	/**
	 * 报警处置信息
	 */
	private Integer alarmAnswer;

	/**
	 * 报警处置信息
	 */
	private String alarmHandle;

	/**
	 * 处置人id
	 */
	private Integer userId;

	/**
	 * 处置人
	 */
	private String userName;

	/**
	 * 处置时间
	 */
	private Date handleTime;

	/**
	 * 创建时间
	 */
	private Date createTime;

	/**
	 * 更新时间
	 */
	private Date updateTime;

	private String deviceName;
	private String browseName;

	private String deviceNo;
	private String devicePosition;
	private String deviceBrand;
	private String seriaNumber;
	private String supplier;
	private String supplierPhone;
	private String supplierName;
	private Integer areaId;
	private String areaName;
	private String alarmName;
	private String alarmReason;

	private String handleOpinions;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Date getAlarmTime() {
		return alarmTime;
	}

	public void setAlarmTime(Date alarmTime) {
		this.alarmTime = alarmTime;
	}

	public Integer getDeviceId() {
		return deviceId;
	}

	public void setDeviceId(Integer deviceId) {
		this.deviceId = deviceId;
	}

	public Integer getAttrId() {
		return attrId;
	}

	public void setAttrId(Integer attrId) {
		this.attrId = attrId;
	}

	public String getAlarmType() {
		return alarmType;
	}

	public void setAlarmType(String alarmType) {
		this.alarmType = alarmType == null ? null : alarmType.trim();
	}

	public String getAlarmLevel() {
		return alarmLevel;
	}

	public void setAlarmLevel(String alarmLevel) {
		this.alarmLevel = alarmLevel == null ? null : alarmLevel.trim();
	}

	public String getAlarmValue() {
		return alarmValue;
	}

	public void setAlarmValue(String alarmValue) {
		this.alarmValue = alarmValue == null ? null : alarmValue.trim();
	}

	public String getDefectSource() {
		return defectSource;
	}

	public void setDefectSource(String defectSource) {
		this.defectSource = defectSource == null ? null : defectSource.trim();
	}

	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public Integer getAlarmAnswer() {
		return alarmAnswer;
	}

	public void setAlarmAnswer(Integer alarmAnswer) {
		this.alarmAnswer = alarmAnswer;
	}

	public String getAlarmHandle() {
		return alarmHandle;
	}

	public void setAlarmHandle(String alarmHandle) {
		this.alarmHandle = alarmHandle == null ? null : alarmHandle.trim();
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName == null ? null : userName.trim();
	}

	public Date getHandleTime() {
		return handleTime;
	}

	public void setHandleTime(Date handleTime) {
		this.handleTime = handleTime;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public String getDeviceName() {
		return deviceName;
	}

	public void setDeviceName(String deviceName) {
		this.deviceName = deviceName;
	}

	public String getBrowseName() {
		return browseName;
	}

	public void setBrowseName(String browseName) {
		this.browseName = browseName;
	}

	public String getDeviceNo() {
		return deviceNo;
	}

	public void setDeviceNo(String deviceNo) {
		this.deviceNo = deviceNo;
	}

	public String getDevicePosition() {
		return devicePosition;
	}

	public void setDevicePosition(String devicePosition) {
		this.devicePosition = devicePosition;
	}

	public String getDeviceBrand() {
		return deviceBrand;
	}

	public void setDeviceBrand(String deviceBrand) {
		this.deviceBrand = deviceBrand;
	}

	public String getSeriaNumber() {
		return seriaNumber;
	}

	public void setSeriaNumber(String seriaNumber) {
		this.seriaNumber = seriaNumber;
	}

	public String getSupplier() {
		return supplier;
	}

	public void setSupplier(String supplier) {
		this.supplier = supplier;
	}

	public String getSupplierPhone() {
		return supplierPhone;
	}

	public void setSupplierPhone(String supplierPhone) {
		this.supplierPhone = supplierPhone;
	}

	public String getSupplierName() {
		return supplierName;
	}

	public void setSupplierName(String supplierName) {
		this.supplierName = supplierName;
	}

	public Integer getAreaId() {
		return areaId;
	}

	public void setAreaId(Integer areaId) {
		this.areaId = areaId;
	}

	public String getAreaName() {
		return areaName;
	}

	public void setAreaName(String areaName) {
		this.areaName = areaName;
	}

	public String getAlarmName() {
		return alarmName;
	}

	public void setAlarmName(String alarmName) {
		this.alarmName = alarmName;
	}

	public Integer getRuleId() {
		return ruleId;
	}

	public void setRuleId(Integer ruleId) {
		this.ruleId = ruleId;
	}

	public String getAlarmReason() {
		return alarmReason;
	}

	public void setAlarmReason(String alarmReason) {
		this.alarmReason = alarmReason;
	}

	public String getHandleOpinions() {
		return handleOpinions;
	}

	public void setHandleOpinions(String handleOpinions) {
		this.handleOpinions = handleOpinions;
	}
}